package com.yunxin.core.infra.persistence.mapper.order;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.order.OrderAllocationBelongToAccountDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zero°
 * @since 2023-06-07
 */
@DS("core")
@Mapper
public interface OrderAllocationBelongToAccountExtendMapper extends OrderAllocationBelongToAccountMapper {

    /**
     * 根据分配订单id查询分配订单归属账号
     * @param allocationOrderId allocationOrderId
     * @return OrderAllocationBelongToAccount
     */
    OrderAllocationBelongToAccountDO selectByAllocationOrderId(@Param("allocationOrderId") Long allocationOrderId);
}
